#include "ustc_comdef.h"

#define INSTRUCTION_LDR_PC 0xE51FF004L

extern void Reset_Handler(void);
extern void __irq IRQ_Handler(void);
extern void __irq FIQ_Handler(void);
extern void __irq SWI_Handler(void);
extern unsigned long VectorTable[];

//USTC_U32 ustc_udisk_isr(void);

unsigned long VectorTable[]=
{
		INSTRUCTION_LDR_PC,						//0x00, Reset
		(unsigned long)Reset_Handler,

		INSTRUCTION_LDR_PC,						//0x04, undefined
		(unsigned long)&VectorTable[2],

		INSTRUCTION_LDR_PC,						//0x08, SWI
		(unsigned long)SWI_Handler,

	 	INSTRUCTION_LDR_PC,						//0x0C, Prefetch
		(unsigned long)&VectorTable[6],

		INSTRUCTION_LDR_PC,						//0x10, Abort
		(unsigned long)&VectorTable[8],

		INSTRUCTION_LDR_PC,						//0x14, undefined
		(unsigned long)&VectorTable[10],

		INSTRUCTION_LDR_PC,						//0x18, IRQ
		(unsigned long)IRQ_Handler,

		INSTRUCTION_LDR_PC,						//0x1C, FIQ
		(unsigned long)FIQ_Handler
};

void __irq SWI_Handler()
{

}

void __irq IRQ_Handler()
{
//	ustc_udisk_isr();
}

void __irq FIQ_Handler()
{


}


